﻿namespace 设备报警系统客户端;

/// <summary>
/// 设备信息
/// </summary>
public class DeviceInformation
{
    public string Id { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string Describe { get; set; }

    /// <summary>
    /// 通信协议
    /// </summary>
    public Protocol Protocol { get; set; }
}

/// <summary>
/// 通信协议
/// </summary>
public enum Protocol
{
    /// <summary>
    /// 西门子S7
    /// </summary>
    S7,
    /// <summary>
    /// Modbus-Tcp
    /// </summary>
    ModbusTcp
}